home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_0399 / 196 < prev    next >
Internet Message Format  |  1994-08-27  |  13KB

  1. From: Stephen Henson (CSM) <shenson@camborne-school-of-mines.ac.uk>
  2. Date: Thu, 1 Apr 93 21:51:39 BST
  3. Message-Id: <27961.9304012051@csm.ac.uk>
  4. To: mint <mint@terminator.rs.itd.umich.edu>
  5. Subject: Minixfs/fsck patch level 2
  6.  
  7. Here is a patch to bring minixfs and fsck up to patch level 2. Minixfs hasn't
  8. changed much, just added support for altered fs format. Makefiles have been
  9. sanitised, you should just have to do 'make install' at the top level to get
  10. everything compiled now, the actual install program and final destination
  11. are in the file 'dirs' which gets included (I did it like this so if the
  12. makefile gets patched later it wont have altered if you edit the destination).
  13.  
  14.     fsck has changed a bit. This version will recover a trashed root 
  15. directory/inode (something which took me ages to do manually when it happened
  16. to me), the option '-R' will automatically assume the root inode is invalid
  17. and reallocate it. This basically makes a valid root with lost+found and stuffs
  18. all the orphaned inodes into it. I haven't dared try this on my hard disk yet,
  19. but it seems OK on floppies; anyone silly enough to try this on a hard disk
  20. partition let me know what happens. You have to manually input the directory
  21. increment with '-R' at present, not that much of a problem, hopefully you'll
  22. never have to use this option!
  23.  
  24. [Note: If you are thinking of trying out '-R' then I ought to spell out what it
  25.  does : IT TRASHES THE ROOT DIRECTORY! It then recreates a new root directory,
  26.  and put all the old entries into a directory called 'lost+found' the names are
  27.  not recoverable so it uses the inode number for a name. ]
  28.  
  29. '-R' is mainly there to test things out at present, it may well be replaced by
  30. a selective inode/dir trasher.
  31.  
  32. Bjarne: Sorry haven't inluded your patch in this patch level, I'll add something
  33. to give a wider range of error codes in the next patch.
  34.  
  35.     No XHDI support yet 'cos I haven't got a test binary yet! No binary,
  36. no XHDI.
  37.  
  38. Use patch -p0 or whatever, it patches subdirs as well ...
  39.     
  40. table
  41.  !"#$%&'()*+,-./0123456789:;<=>?
  42. @ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_
  43. begin 644 pl2.zoo
  44. M6D]/(#(N,3 @07)C:&EV92X:  #<I\3]*@   -;___\"  $        #W*?
  45. M_0("  '$   "!&AL?FQ"3:P  HAT   (!          !P;#(  =P   '=y
  46. M   !"@      I %     0"DC*  4O(.;ZQN2+O53/DNK_2;V]&X[;QW;x
  47. M;;C<QX*9(YW/MD<BC>9N[V3<MW;=DMW;5W;DDF[/C=^_>][WKNVVY)))F]w
  48. MF9N]V\N%R7__W=0G"W@Y" 7<4("7"%(4 !0"0)%$%&(KQ D"!0'P *0^v
  49. M!12'<.UDC;;=]MIHDYA^V2?/X:$^I05\5]M^ D\OU]/Z6KJZN;)^G]*=.G'Su
  50. MI5W#D)NKOD6ID5K5Z2M>C0#PK42[>3\;B*!#>8\"JI1('W.^G]*:2U;N7=C<t
  51. MW+!&,8^VW<VK7!8(0C5?Q#[^:[:W"X(>\+SS@ 'V!LU QQ^)A[%B>=GL $&7s
  52. MWSB1ERY5W(R412+]"C7HZQQ%,-6?6@.>QC#6JDH*UZ=:O16]@YJTZ"BMr
  53. M.H<>2>GYH%\#)*Y!YTE]GD;89X7=.9KY=)MMN,P<$+.(C#SL#8q
  54. M>+K'.1C"RQQLOSR;+V/G?;P8827)]N>3A'>?79=@>=27959UE!!B?PN[#CA. =-p
  55. M 3@9@9?Y&;Y^KTHNK\[+\#8;BA/H,>%<F->%C"XSR,NB!]GF;AEo
  56. MJF].D?@YU#C88['_8V+>T;.X]2RVLHM1D3D+@TZT1#^)@!#ERV,*[^K,@?84n
  57. M+Y]F"%3:N6OLV=5MUA_+UDTGBU27,+W*"C)&W6GB:I5%^1YN^2 ,<<.7m
  58. M,'"^(?B4VU+'"+@RC821XX7=I]OD9)[L # I??Y'5\0];)H_/[M\D1C!T_(8l
  59. METU71JMIM]EB%Y_G): -F<3+L)/=!&DUONN7^&'AAM.O -XZ3-NO>k
  60. M&FVWV621:MMH/?PU6TO"N3[+SJ>5Z \YV)MT?OK#63H,VZZ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